package com.example.apple.myapplication625hap.serive;

import com.example.apple.myapplication625hap.bean.UserBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Apple on 2017/5/25.
 */

public interface LoginService {
    @GET("api.php/login")
    Call<UserBean> login(@Query("username") String username,
                         @Query("password") String password);


    Call<UserBean> getLogin(String userName, String passWord);
}
